package model

import "time"

const UserMapName = "user_map"

type UserMap struct {
	// 作为内部id，关联内部数据
	Id       int    `json:"id" orm:"auto" sql:"INT"`
	UserId   int    `json:"user_id" sql:"INT"`
	MapId    int    `json:"map_id" sql:"INT"`
	MapNo    string `json:"map_no" sql:"VARCHAR"`
	IsSystem bool   `json:"is_system" sql:"TINYINT"`

	CreateTime *time.Time `json:"create_time" orm:"createTime" sql:"DATETIME"`
	UpdateTime *time.Time `json:"update_time" orm:"updateTime" sql:"DATETIME"`
}
